* {
    margin: 0;
    padding: 0;
}
.w {
    width: 1200px;
    margin: auto;
}
body {
    background-color: #f3f5f7;
    /* height: 3000px; */
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
/* 头部区域 */
.header {
    height: 42px;
    /* background-color: pink; */
    margin: 30px auto;
}
.logo  {
    float: left;
    width: 198px;
    height: 42px;

}
.nav {
    float: left;
    margin-left:60px;
}
.nav ul li {
    float: left;
    margin: 0 15px;
}
.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;
}
.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}
/* 搜索模块 */
.search {
    float: left;
    width: 412px;
    height: 42px;
    margin-left: 50px;
}
.search input {
    float: left;
    width: 340px;
    height: 40px; 
    border: 1px solid #00a4ff;
    border-right: 0;
    font-size: 14px;
    color: #bfbfbf;
    padding-left: 20px;   
}
.search button {
    float: left;
    width: 51px;
    height: 41px;
    border: 0;
    background: url(./image/search.png);
}
.user {
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666666;
}
.user img {
    vertical-align: middle;
}
/* banner部分 */
.banner {
    height: 420px;
    background-color: #1c036c;
}
.banner .w {
    height: 420px;
    background:url(./image/a.png) no-repeat top center;
}
.banner .subnav {
    float: left;
    width: 190px;
    height: 420px;
    background-color: rgba(0,0,0,0.3);
}
.subnav ul li {
    height: 44px;
    line-height: 44px;
    padding:0 20px;

}
.subnav ul li a {
    /* display: block; */
    font-size: 14px;
    color: #ffff;
}
.subnav ul li a span {
    float: right;
}
.subnav ul li a:hover {
    color: #00a4ff;
}
/* 课程模块 */
.course {
    float: right;
    width: 228px;
    height: 301px;
    background-color: #fff;
    /* 浮动的盒子不会有外边距合并的问题 */
    margin-top: 50px;
}
.course h2 {
    height: 48px;
    font-size: 18px;
    color: #fff;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;
}
.course .bd {
    padding: 0 20px;
}
.bd ul li {
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
}
.bd ul li h4 {
    font-size: 16px;
    color: #4e4e4e;
}
.bd ul li p {
    font-size: 12px;
    color: #a5a5a5;
}
.bd .more {
    display: block;
    height: 38px;
    font-size: 16px;
    color: #00a4ff;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 38px;
    font-weight: 700;
    margin-top: 6px;
}
/* 精品推荐模块 */
.goods {
    height: 60px;
    background-color: #fff;
    margin-top: 10px;
    line-height: 60px;
    box-shadow: 0px 2px 3px 3px rgba(0, 0, 0, 0.1);
}
.goods h3 {
    float: left;
    font-size: 16px;
    color: #00a4ff;
    padding-left: 34px;
}
.goods ul {
    float: left;
    margin-left: 30px;
    
}
.goods ul li {
    float: left;
}
.goods ul li a {
    padding: 0 30px;
    font-size: 16px;
    color: #050505;
    border-left: 1px solid #bfbfbf;
}
.mod {
    float: right;
    font-size: 14px;
    color: #00a4ff;
    padding-right: 26px;
}
/* 精品推荐大模块 */
.box {
    margin-top: 30px;
}
.box .box-hd {
    height: 45px;
}
.box-hd h3 {
    float: left;
    font-size: 20px;
    color: #494949;
}
.box-hd a {
    float: right;
    font-size: 12px;
    color: #a5a5a5;
    margin-top: 10px;
    margin-right: 30px;
}
.box-bd ul {
    width: 1215px;
}
.box-bd ul li {
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-right: 15px;
    margin-top: 15px;
}
.box-bd ul li>img {
    width: 100%;
}
.box-bd ul li h4 {
    margin: 20px 20px 20px 24px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}
.box-bd ul li em {
    position: absolute;
    top: 4px;
    right: -4px;
}
.box-bd .info {
    font-size: 12px;
    color: #999;
    margin: 0 84px 0 23px;
}
.box-bd .info span {
    color: #ff7c2d;
}
.clearfix:before,
.clearfix:after {
            content: "";
            display: table;
        }

        .clearfix:after {
            clear: both;
        }

        .clearfix {
            *zoom: 1;
        }
/* 编程入门 */
.bianchen {
    /* background-color: pink; */
    margin-top: 36px;
}
.bianchen .box-z {
    height: 45px;
}
.box-z h3 {
    float: left;
    font-size: 20px;
    color: #494949;
}
.box-z ul {
    margin-left: 352px;
}
.box-z ul li {
    padding-top: 5px;
    padding-left: 69px;
    float: left;
}
.box-z ul li a {
    font-size: 16px;
    color: #868686;
}
.box-z ul li a:hover {
    color: #00a4ff;
}
.box-z .subtitle {
    float: right;
    font-size: 12px;
    color: #a5a5a5;
    margin-top: 10px;
    margin-right: 30px;
}
.box-x .box-l {
    float: left;
    width: 228px;
    height: 392px;
    /* background-color: pink; */
}
.box-x .box-r {
    float: left;
    width: 957px;
    height: 100px;
    /* background-color: #00a4ff; */
    margin-left: 15px;
}
.box-x ul li {
    float: left;
    width: 228px;
    height: 270px;
    background-color: #fff;
    margin-left: 15px;
    margin-top: 22px;
}
.box-x ul li img {
    width: 100%;
}
.box-x ul li h4 {
    margin: 20px 20px 20px 24px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}
.box-x .info {
    margin: 20px 20px 20px 24px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}
.box-x .info span {
    color: #ff7c2d;
}
/* footer 模块 */
.clearfix:before,
.clearfix:after {
            content: "";
            display: table;
        }

        .clearfix:after {
            clear: both;
        }

        .clearfix {
            *zoom: 1;
        }
.footer {
    height: 415px;
    background-color: #fff;
}
.footer .w {
    margin-top: 38px;
}
.copyright {
    float: left;
    margin-top: 33px;
}
.links {
    float: right;
    margin-top: 33px;
}
.links dl {
    float: left;
    margin-left: 100px;
}
.links dl dt {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}
.links dl dd a {
    color: #333;
    font-size: 12px;
}
.copyright p {
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px 0;
}
.copyright .app {
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 33px;
    color: #00a4ff;
    font-size: 16px;
}
/* 编程入门 */
.window {
    position: fixed;
    top: 328px;
    right: 50%;
    margin-right: 600px;
    width: 183px;
    height: 425px;
    background-color: #fff;
}
.window ul li {
    height: 36px;
    line-height: 36px;
    padding: 0 25px;

}
.window ul li a {
    font-size: 14px;
    color: #000;
}
.window ul li a:hover {
    color: #00a4ff;
}